package com.subang.function.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.subang.common.annotation.Excel;
import com.subang.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 讲师对象 sb_teacher
 * 
 * @author subei
 * @date 2025-03-13
 */
public class SbTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师ID */
    private Long teacherId;

    /** 教师头像 */
    @Excel(name = "教师头像")
    private String teacherVar;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String teacherName;

    /** 教师科目 */
    @Excel(name = "教师科目")
    private String subject;

    /** 授课城市 */
    @Excel(name = "授课城市")
    private String city;

    /** 评价次数 */
    @Excel(name = "评价次数")
    private Integer evaluationNumber;

    /** 评价均分 */
    @Excel(name = "评价均分")
    private String evaluationScore;

    private List<SbEvaluation> evaluations;

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }

    public void setTeacherVar(String teacherVar) 
    {
        this.teacherVar = teacherVar;
    }

    public String getTeacherVar() 
    {
        return teacherVar;
    }

    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    public void setSubject(String subject) 
    {
        this.subject = subject;
    }

    public String getSubject() 
    {
        return subject;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setEvaluationNumber(Integer evaluationNumber) 
    {
        this.evaluationNumber = evaluationNumber;
    }

    public Integer getEvaluationNumber() 
    {
        return evaluationNumber;
    }

    public void setEvaluationScore(String evaluationScore) 
    {
        this.evaluationScore = evaluationScore;
    }

    public String getEvaluationScore() 
    {
        return evaluationScore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teacherId", getTeacherId())
            .append("teacherVar", getTeacherVar())
            .append("teacherName", getTeacherName())
            .append("subject", getSubject())
            .append("city", getCity())
            .append("evaluationNumber", getEvaluationNumber())
            .append("evaluationScore", getEvaluationScore())
            .toString();
    }

    public List<SbEvaluation> getEvaluations() {
        return evaluations;
    }

    public void setEvaluations(List<SbEvaluation> evaluations) {
        this.evaluations = evaluations;
    }
}
